﻿using Example;
using PrismProject01.ViewModels;
using PrismProject01.Views;
using System.Windows;

namespace PrismProject01 {
    public partial class App : PrismApplication {
        protected override Window CreateShell() {
            return Container.Resolve<MainWindow>();
        }

        protected override void RegisterTypes(IContainerRegistry containerRegistry) {
            containerRegistry.Register<Services.ICustomerStore, Services.DbCustomerStore>();
            containerRegistry.RegisterDialog<WarningDialog,WarningDialogViewModel>();
        }
    }
}
